<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-CN"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.bootcss.com/bootstrap-datetimepicker/4.7.14/css/bootstrap-datetimepicker.min.css"
          rel="stylesheet">
        <link rel="stylesheet" href="../css/fileinput.min.css">
        <link rel="stylesheet" href="../css/main.css">

    </head>
    <body>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->

        <div id="wp">
        </div>

        <script src="http://cdn.bootcss.com/react/0.13.2/react.js"></script>
    <script src="http://cdn.bootcss.com/react/0.13.2/JSXTransformer.js"></script>
    <script src="http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script></script>
    <script src="http://cdn.bootcss.com/moment.js/2.10.2/moment-with-locales.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap-datetimepicker/4.7.14/js/bootstrap-datetimepicker.min.js" />
        <script src="../js/plugins.js"></script>
        <script src="../js/common.js"></script>
        
<script type="text/jsx" src="../src/component.js"></script>
<script type="text/jsx" src="../src/product.js"></script>
<script type="text/jsx" src="../src/mn.js"></script>
<script type="text/jsx" src="../src/mn-addon.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/jsx">
var customerId=null;
var staffId=$.cookie('uid');
var partnerId=qs.pid||$.cookie('pid');

React.render(
    (<div>
        <TopNavBar partnerId={partnerId} staffId={staffId}/>
        <SideNavBar partnerId={partnerId} staffId={staffId}/>
        <div id="mallBody" className="container-fluid"></div>
    </div>), $('#wp').get(0));
var flag=$.cookie("flag")||"";
if(flag.indexOf("p")>=0){
    if(document.location.hash.length>1){
        loadPage();
    }else{
        loadPage('ProductPage4Partner',{partnerId:partnerId});
    }
}else{
  toPage('LoginPage')
}


API.wxConfig();
</script>
<script src="http://webapi.amap.com/maps?v=1.3&key=a0913e92907bdd4150e564d6439c8466"></script>
<script src="../js/vendor/fileinput.min.js"></script>
<script src="http://cdn.bootcss.com/Chart.js/1.0.2/Chart.min.js"></script>
<script src="http://cdn.bootcss.com/jquery-validate/1.13.1/jquery.validate.min.js"></script>
    </body>
</html>
